<template>
  <el-button type="primary" loading v-show="isShow">Loading</el-button>
  <el-config-provider :locale="locale">
    <router-view />
  </el-config-provider>
</template>

<script>
import zhCn from "element-plus/dist/locale/zh-cn.mjs";

export default {
  name: "App",
  data() {
    return {
      locale: zhCn,
      isShow: false,
    };
  },
  onMounted() {
    this.isShow = true;
    return isShow;
  },
};
</script>

<style scoped>
</style>
